from Interview import views
from django.urls import path
from django.urls import re_path
from Interview.consumers import InterviewConsumer

websocket_urlpatterns = [
    re_path(r'ws/interview/(?P<interview_id>\d+)/$', InterviewConsumer.as_asgi()),
]

urlpatterns = [
    path('start/', views.StartInterviewView.as_view(), name='interview-start'),

    path('upload_interview_video/', views.UploadInterviewVideo.as_view(), name='upload_interview_video'),

    path('tasks/', views.TaskStatusView.as_view(), name='task-status'),

    path('EmotionAnalysisView/', views.EmotionAnalysisView.as_view(), name='task-EmotionAnalysisView'),

    path('getQuestionListView/', views.getQuestionListView.as_view(), name='getQuestionListView'),

    path('postAnswerView/', views.postAnswerView.as_view(), name='postAnswerView'),

    path('uploadAnswerVideoView/', views.uploadAnswerVideoView.as_view(), name='uploadAnswerVideoView'),

    path('ReportCompareAPIView/', views.ReportCompareAPIView.as_view(), name='ReportCompareAPIView'),

    path('getReportByInterview/', views.getReportByInterview.as_view(), name='getReportByInterview'),


]